<?php
return [
    //公众号
    'offiAccount'    => [
        'app_id'                    => 'wx2aed0a2b75cc5e5b',
        'secret'                    => '3ae83613acb194075221cdfbcf0ce107',
        'redirect_url'              => 'https://pei.xushisp.cn/index.php/api/xmwechat.Offiaccount/oauth',
        'offi_name'                 => '',
        'original_id'               => '',
        'offi_qr_code'              => '',
        'server_url'                => request()->domain() . '/index.php/api/xmwechat.Offiaccount/messageServe',
        'server_token'              => '',
        'encoding_aes_key'          => 'l8CKXHmAtzrkUpEtZpc9FxbqZgAAvnbnR3xokhEJnVX',
        'message_encryption_method' => 'plaintext',
        'business_domain'           => request()->domain(),
        'js_security_domain'        => request()->domain(),
        'website_auth_domain'       => request()->domain(),
    ],

    //小程序
    'miniProgram'    => [
        'app_id'                    => 'wxee381fadac962d52',
        'secret'                    => '283f5c84766cfac28ed9f1509d0b9300',
        'name'                      => '',
        'original_id'               => '',
        'qr_code'                   => '',
        'request_domain'            => request()->domain(),
        'socket_domain'             => 'wss://' . str_replace(['http://', 'https://'], '', request()->domain()),
        'upload_file_domain'        => request()->domain(),
        'download_file_domain'      => request()->domain(),
        'udp_domain'                => 'udp://' . str_replace(['http://', 'https://'], '', request()->domain()),
        'tcp_domain'                => 'tcp://' . str_replace(['http://', 'https://'], '', request()->domain()),
        'server_url'                => request()->domain() . '/index.php/api/xmwechat.Miniprogram/messageServe',
        'server_token'              => 'xiaoxixixixixixtongzhi',
        'encoding_aes_key'          => 'l8CKXHmAtzrkUpEtZpc9FxbqZgAAvnbnR3xokhEJnVX',
        'message_encryption_method' => 'plaintext',
    ],
    'h5'        =>[
        'appid'         =>'wxd678efh567hg6787'
    ],
    'app'       =>[
        'app_id'         =>'',
    ],
    //微信支付(v3)
    'payment'        => [
        'mch_id'      => '1638871720',
        'secret_key'  => 'neimengguyingyuewangloukejiyouxi',
        'notify_url'  => 'https://pei.xushisp.cn/index.php/api/xmwechat.Payment/payNotify',
        'certificate' => 'app/cert/apiclient_cert.pem',
        'private_key' => 'app/cert/apiclient_key.pem',
    ],

    // 合作伙伴（服务商）模式支付（v3）
    'partnerPayment' => [
        'sp_mchid'           => '1658882413',
        'sp_appid'           => 'wxee381fadac962d52',
        'sub_mchid'          => '1638871720',
        'secret_key'         => 'neiemngguyingyuewangloukejiyouxi',
        'notify_url'         => 'https://pei.xushisp.cn/index.php/api/xmwechat.Payment/payNotify',
        'refunds_notify_url' => 'https://pei.xushisp.cn/index.php/api/xmwechat.PartnerPayment/refundsNotify',
        'certificate'        => 'app/cert/partner/apiclient_cert.pem',
        'private_key'        => 'app/cert/partner/apiclient_key.pem',
        'sequenceKey'        => '19C0C96571537F209A8A890312F40694AC560880'
    ],

];